/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hujia.service;

import hujia.domain.User;
import hujia.mapper.UserMapper;
import org.springframework.stereotype.Service;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/6/15 16:00
 */
@Service
public class UserServiceImp implements UserService {

    private UserMapper userMapper;

    @Override
    public User getUserByUserID(int id) {
        User user = userMapper.selectUserByID(id);
        return user;
    }
}
